<?php

use think\facade\Route;
Route::rule('','merchant/index/index');


Route::rule('login','merchant/login/index');
Route::rule('register','merchant/login/register');
Route::get('order','merchant/order/list');
Route::get('order_info','merchant/order/details'); //订单详情
Route::get('shop_back','merchant/order/shop_back'); //订单退款
Route::get('shop_back_info','merchant/order/refund_detail'); //订单退款详情
Route::get('review','merchant/order/review'); //订单评价
Route::get('finance_cash','merchant/finance/finance_cash'); //提现
Route::get('finance_account','merchant/finance/finance_account'); //提现账号
Route::get('finance_log','merchant/finance/finance_log'); //提现记录
Route::get('finance_logs','merchant/finance/finance_logs'); //提现记录
Route::get('store_info','merchant/store/store_info'); //店铺信息
Route::get('store_notice','merchant/store/store_notice'); //消息通知
Route::get('store_model','merchant/store/store_model'); //运费模板
Route::get('account_info','merchant/store/account_info'); //个人信息
Route::get('account_pwd','merchant/store/account_pwd'); //密码修改
Route::get('trade_account_pwd','merchant/store/trade_account_pwd'); //交易密码
Route::get('shop_add','merchant/goods/shop_add'); //添加商品
Route::get('shop_edit','merchant/goods/shop_edit'); //编辑商品

Route::get('login_out','merchant/login/login_out'); //退出密码







Route::post('merchant-register','merchant/login/merchant_register'); //注册
Route::post('merchant-user-login','merchant/login/merchant_login'); //登录
Route::post('merchant-send-captcha','merchant/login/send_captcha'); //发送验证码

Route::get('merchant-goods-list','merchant/goods/list'); //商品列表
Route::get('merchant-order-list','merchant/order/get_order_list'); //订单列表
Route::get('merchant-order-refund','merchant/order/get_refund_list'); //订单退款
Route::get('merchant-order-review','merchant/order/get_order_review'); //订单评价


Route::post('merchant-order-deliver','merchant/order/deliver'); //订单发货
Route::post('merchant-order-refund','merchant/order/refund'); //订单退款
Route::post('merchant-order-remark','merchant/order/remark'); //订单备注
Route::post('merchant-review-delete','merchant/order/review_delete'); //评价删除

Route::post('save_finance_account','merchant/finance/save_finance_account'); //保存收款账号
Route::post('withdraw_apply','merchant/finance/withdraw_apply'); //提现申请
Route::get('merchant-finance-log','merchant/finance/get_finance_log'); //提现申请记录
Route::post('merchant-finance-cancel','merchant/finance/finance_cancel'); //提现申请取消

Route::post('upload_img','merchant/finance/upload'); //上传
Route::post('save_store_info','merchant/store/save_store_info'); //保存店铺信息
Route::get('get_store_notice','merchant/store/get_store_notice'); //店铺公告列表
Route::post('add_store_notice','merchant/store/add_store_notice'); //新增公告
Route::post('delete_store_notice','merchant/store/delete_store_notice'); //删除公告
Route::get('get_region_data','merchant/store/get_region_data'); //获取区域
Route::post('shipping_template_save','merchant/store/shipping_template_save'); //获取区域

Route::post('update_login_pwd','merchant/store/update_login_pwd'); //修改登录密码
Route::post('update_trade_pwd','merchant/store/update_trade_pwd'); //修改交易密码

Route::get('goods_add_init','merchant/goods/goods_add_init'); //商品添加初始化
Route::post('goods_format','merchant/goods/goods_format'); //商品添加初始化
Route::post('goods_create','merchant/goods/goods_create'); //商品添加
Route::post('goods_edit','merchant/goods/goods_edit'); //商品编辑
Route::get('goods_info','merchant/goods/goods_info'); //商品添加




















